package adv3;

import java.util.Scanner;

public class StuTest {

	public static void main(String[] args) {

		System.out.println(Sex.妖);
		Student s = new Student();
		Scanner in = new Scanner(System.in);
		System.out.println("input name:");
		s.setName(in.next());
		System.out.println("iput sex:");
		// s.setSex(Sex.男);

		s.setSex(Sex.valueOf(in.next()));
		System.out.println(s);
	}

}
